﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgingAccountAdd.aspx.cs"
    Inherits="Runda.CMS.Portal.Finiance.AgingAccountAdd" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script src="../Content/global.js" type="text/javascript"></script>

    <link href="../Content/global.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Menu/Menu.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        function CheckForm() {
            if (isNaN(document.getElementById("txtMonth").value)) {
                alert("账龄必须输入数字");
                return false;
            }         
            return true;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="mnubar" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td width="9">
                    <img hspace="3" src="../Content/Menu/mnu_vSpacer.gif" />
                </td>
                <td class="icMenu" nowrap>
                    <asp:LinkButton ID="lnkbtnSaveAndClose" runat="server" OnClientClick="return CheckForm();"
                        OnClick="lnkbtnSaveAndClose_Click"><span class="menu" title="保存&amp;关闭" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存&amp;关闭</span></span></asp:LinkButton>
                    <img src="../Content/Menu/separator.gif">
                    <span class="menu" title="关闭" onclick="window.close();">
                        <img class="mnuBtn" src="../Content/Menu/Close_16_blue.gif"><span class="mnuBtn">关闭</span></span>
                </td>
            </tr>
        </tbody>
    </table>
    <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid">
    </div>
    <div id="areaForm" class="area">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tbody>
                <tr>
                    <td valign="top">
                        <div style="display: inline" id="appForm_tab0" class="tab">
                            <asp:HiddenField ID="txtID" runat="server" />
                            <asp:HiddenField ID="txtCustomerID" runat="server" />
                            <table style="table-layout: fixed" id="Section1" cellspacing="0" cellpadding="3"
                                width="100%">
                                <colgroup>
                                    <col width="90">
                                    <col>
                                    <col width="90">
                                    <col>
                                    <tbody>
                                        <tr>
                                            <td class="req">
                                                时间段:
                                            </td>
                                            <td>
                                                <rad:RadDatePicker ID="txtDateFrom" runat="server" Culture="Chinese (People's Republic of China)"
                                        Skin="WebBlue" Width="200px">
                                        <DateInput Skin="WebBlue">
                                        </DateInput>
                                        <Calendar Skin="WebBlue">
                                        </Calendar>
                                    </rad:RadDatePicker>
                                    ~
                                    <rad:RadDatePicker ID="txtDateTo" runat="server" Culture="Chinese (People's Republic of China)"
                                        Skin="WebBlue" Width="200px">
                                        <DateInput Skin="WebBlue">
                                        </DateInput>
                                        <Calendar Skin="WebBlue">
                                        </Calendar>
                                    </rad:RadDatePicker>
                                            </td>
                                        </tr>
                                         <tr>
                                            <td class="req">
                                                类型:
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="listType" runat="server" >
                                                    <asp:ListItem Value="0" Text="按月"></asp:ListItem>
                                                    <asp:ListItem Value="1" Text="按天"></asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="req">
                                                期龄:
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtMonth" runat="server" CssClass="input"></asp:TextBox>
                                            </td>
                                        </tr>                                        
                                    </tbody>
                            </table>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
